<!DOCTYPE html>
<html>
<head>
    <title>{$eju.field.seo_title}</title>
    <meta name="renderer" content="webkit" />
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=0,minimal-ui" />
    <meta name="description" content="{$eju.field.seo_description}" />
    <meta name="keywords" content="{$eju.field.seo_keywords}" />
    <link href="{eju:global name='web_cmspath' /}/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    {eju:static file="skin/css/iconfont.css" /}
    {eju:static file="skin/css/amazeui.min.css" /}
    {eju:static file="skin/css/aflist.css" /}
    {eju:static file="skin/css/mobile2.css" /}

    {eju:static file="skin/js/jquery.min.js" /}
    {eju:static file="skin/js/amazeui.min.js" /}
    {eju:static file="skin/js/iscroll.js" /}
    {eju:static file="skin/js/swiper-3.4.2.jquery.min.js" /}
    {eju:static file="skin/js/amazeui.lazyload.min.js" /}
</head>
<body>
{eju:include file="header.htm"/}
<section class="af-sx">
    <div class="search-wrap" id="afsearch">
        <div class="search-text">
            {eju:searchform channelid='9' type='default'}
            <i onclick="subDo()" class="icon-search iconfont"></i>
            <form  id="search_form" method="get" action="{$field.action}">
                <input class="text" type="text" name="keywords" value="{$Request.param.keywords}" placeholder="输入楼盘名称开始找房">
                {$field.hidden}
            </form>
            {/eju:searchform}
        </div>
    </div>
    <div class="af-sx-body">
        {eju:channel type="sonself" row="60" id="field" currentstyle="act"}
        <a class="act {$field.currentstyle}" href="{$field.typeurl}">
            <span class="ellips">{$field.typename}</span>
            <!--<i class="icon"></i>-->
        </a>
        {/eju:channel}
    </div>
</section>
<div id="wrapper">
    <div class="af-apoint-list">
        <ul class="am-list" id="lists0002" data-uri="" data-total="">
            {eju:arclist tagid="lists0002" row='5' titlelen='30' orderby='new'}
            <li class="am-g am-list-item-desced am-list-item-thumbed am-list-item-thumb-right pet_list_one_block">
                <a href="{$field.arcurl}">
                    <div class="am-u-sm-4 newslist-pic">
                        <img data-original="{$field.litpic}" src="{$field.litpic}" class="oldhouse-img lazy">
                    </div>
                    <div class=" am-u-sm-8 am-list-main newhouse-info ">
                        <p class="newslist-name">{$field.title}</p>
                        <p class="newslist-info">{$field.seo_description|html_msubstr=###,0,50,true}</p>
                        <p class="newslist-data">{$field.add_time|myDate="Y-m-d H:i:s",###}</p>
                    </div>
                </a>
            </li>
            {/eju:arclist}
        </ul>
        {eju:arcpagelist row='5' tagid='lists0002' tips='数据加载完成'}
        <p id="loading-alt"><a href="javascript:void(0);" {$field.onclick}>点击加载更多</a></p>
        {/eju:arcpagelist}
    </div>
</div>
<div class="mask"></div>

<script>
    $(function() {
        $("img.lazy").lazyload();

        $(".mask").click(function() {
            $(".af-sx-body a").removeClass('cur');
            $(".af-sx-list,.mask").hide();
            $("html,body").removeClass("noscroll");
        });
        $(".slide-sct a").click(function() {
            //$(this).addClass("on").siblings().removeClass('on');
            //$(".af-sx-list").hide();
            $(".slide-sct a").eq($(this).index()).addClass("on").siblings().removeClass('on');
            $(this).find("cur").text($(".slide-sct a").eq($(this).index()).text());
        });
    });
</script>

{eju:static file="skin/js/laytpl.js" /}
<script>
    $(function() {
        $(window).scroll(function() {
        });
    });
    function subDo(){
        $("#search_form").submit();
    }
</script>
</body>
</html>
